package com.dearbinge.data.pojo.userWallet;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Api("钱包")
public class UserWallet implements Serializable {

    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 用戶ID
     */
    @ApiModelProperty("用戶ID")
    private String userId;

    /**
     * 钱包类型
     */
    @ApiModelProperty("钱包类型")
    private Integer walletType;

    /**
     * 钱包描述
     */
    @ApiModelProperty("钱包描述")
    private String walletDescribe;

    /**
     * 钱包金额
     */
    @ApiModelProperty("钱包金额")
    private BigDecimal walletMoney;

    /**
     * 創建時間
     */
    @ApiModelProperty("創建時間")
    private Date createTime;

    /**
     * 修改時間
     */
    @ApiModelProperty("修改時間")
    private Date modifyTime;

    /**
     * 創建人
     */
    @ApiModelProperty("創建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否刪除（0：不刪除   1：刪除）
     */
    @ApiModelProperty("是否刪除（0：不刪除  1：刪除）")
    private Boolean isDeleted;

    /**
     * 凍結金額
     */
    @ApiModelProperty("凍結金額")
    private BigDecimal frozenMoney;

    /**
     * 解凍金額
     */
    @ApiModelProperty("解凍金額")
    private BigDecimal unfrozenMoney;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getWalletType() {
        return walletType;
    }

    public void setWalletType(Integer walletType) {
        this.walletType = walletType;
    }

    public String getWalletDescribe() {
        return walletDescribe;
    }

    public void setWalletDescribe(String walletDescribe) {
        this.walletDescribe = walletDescribe == null ? null : walletDescribe.trim();
    }

    public BigDecimal getWalletMoney() {
        return walletMoney;
    }

    public void setWalletMoney(BigDecimal walletMoney) {
        this.walletMoney = walletMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public BigDecimal getFrozenMoney() {
        return frozenMoney;
    }

    public void setFrozenMoney(BigDecimal frozenMoney) {
        this.frozenMoney = frozenMoney;
    }

    public BigDecimal getUnfrozenMoney() {
        return unfrozenMoney;
    }

    public void setUnfrozenMoney(BigDecimal unfrozenMoney) {
        this.unfrozenMoney = unfrozenMoney;
    }
}